package com.xlh.pojo.system;

import java.io.Serializable;
import java.util.Date;

public class SystemDict implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     *  父ID 
     *
     * @mbg.generated
     */
    private Integer pid;

    /**
     *  数据类别,首字母大写 
     *
     * @mbg.generated
     */
    private String dataType;

    /**
     *  数据编码 
     *
     * @mbg.generated
     */
    private String dataCode;

    /**
     *  数据名称/值 
     *
     * @mbg.generated
     */
    private String dataValue;

    /**
     *  顺序 
     *
     * @mbg.generated
     */
    private Integer sortNo;

    /**
     * 0正常,1删除
     *
     * @mbg.generated
     */
    private Byte deleted;

    /**
     * 数据描述
     *
     * @mbg.generated
     */
    private String dataDesc;

    private Date updateTime;

    private Date createDate;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public Byte getDeleted() {
        return deleted;
    }

    public void setDeleted(Byte deleted) {
        this.deleted = deleted;
    }

    public String getDataDesc() {
        return dataDesc;
    }

    public void setDataDesc(String dataDesc) {
        this.dataDesc = dataDesc;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pid=").append(pid);
        sb.append(", dataType=").append(dataType);
        sb.append(", dataCode=").append(dataCode);
        sb.append(", dataValue=").append(dataValue);
        sb.append(", sortNo=").append(sortNo);
        sb.append(", deleted=").append(deleted);
        sb.append(", dataDesc=").append(dataDesc);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createDate=").append(createDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}